package com.ning.ems.dao;

import com.ning.ems.entity.Address;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressDao {

    List<Address> list(Integer owner);

    Address get(Integer id);

    int add(Address address);

    int delete(Integer id);

    int update(Integer id, String contactNumber, Integer province, String exactAddr);

}